package superweapons;

import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Rectangle;
import java.awt.geom.Point2D;

import javax.swing.ImageIcon;



public class SuperweaponNuke extends SuperWeapon {
	private boolean isActive =true;
	private static final ImageIcon scorch = new ImageIcon("images/nuked/scorch.png");
	
	public SuperweaponNuke(double x, double y, int z, int q) {
		super(new Dimension(z,q), null);
		this.setPosition(new Point2D.Double(x,y));
		this.calcBounds();
	}

	public boolean isActive() {
		return isActive;
	}

	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}
	public void draw(Graphics g, Rectangle area, Component c){
		g.drawImage(scorch.getImage(), (int)this.getPosition().x, (int)this.getPosition().y, null );
		//super.draw(g, area, c);
		//g.setColor(Color.ORANGE);
		//g.drawOval((int)this.getPosition().x, (int)this.getPosition().y, this.getSize().width, this.getSize().height);
		
	}
	

}
